package xin.petstore.framework.exception;

public class ErrorMessage {
    private String error = "unknown error";

    public ErrorMessage() {
    }

    public ErrorMessage(String error) {
        this.error = error;
    }

    public String getError() {
        return this.error;
    }

    public void setError(String error) {
        this.error = error;
    }

    @Override
    public String toString() {
        return "ErrorMessage{error='" +
                this.error + '\'' +
                '}';
    }
}
